home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 1998 June
/
SGI Freeware 1998 June.iso
/
dist
/
fw_UMINNgopher.idb
/
usr
/
freeware
/
src
/
gopher_1.12
/
Makefile.config.dist.z
/
Makefile.config.dist
Wrap
Makefile
|
1997-09-09
|
6KB
|
204 lines
#------------------------------------------------
# This is where most of the configuration parameters are defined
# also see conf.h
#
#********************************************************************
# $Author: drich $
# $Revision: 1.1 $
# $Date: 1995/10/03 04:07:24 $
# $Source: /proj/freeware1.0/gopher1.12/src/RCS/Makefile.config.dist,v $
# $State: Exp $
#
# Paul Lindner, University of Minnesota CIS.
#
# Copyright 1991, 1992 by the Regents of the University of Minnesota
# see the file "Copyright" in the distribution for conditions of use.
#********************************************************************
# MODULE: Makefile.config.dist
# Parameters for the gopher distribution
#*********************************************************************
# Revision History:
# $Log: Makefile.config.dist,v $
# Revision 1.1 1995/10/03 04:07:24 drich
# gopher 1.2 check-in
#
# Revision 1.6 1993/01/19 04:52:22 lindner
# Renamed Makefile.config to Makefile.config.dist
#
# Revision 1.5 1993/01/13 16:19:58 lindner
# Changes for SVR4 (add -lnsl to libs line..)
#
# Revision 1.4 1992/12/28 21:45:48 lindner
# Removed trailing slash on CLIENTLIB
#
# Revision 1.3 1992/12/21 20:38:05 lindner
# Added warning about -DBIO (from dgg)
#
# Revision 1.2 1992/12/13 06:10:26 lindner
# Fixed SVR4LIBS line (didn't need bsd stuff anymore) also removed HPLIBS
#
# Revision 1.1 1992/12/10 22:57:05 lindner
# Initial revision
#
#
#********************************************************************/
#------------------------------------------------
# Your favorite C compiler
#
# Note that sun international users should use /usr/5bin/cc instead of cc
#
CC = cc
#------------------------------------------------
# Optimization level.
#
#OPT=-g
OPT=-O
#------------------------------------------------
# System Selection, note that you won't have to edit
# unless you have compilation problems.
#
# Add -DUSG for System V
# -DBSD for BSD
# -DPOSIXWAIT if you have waitpid() instead of wait3()
GSYSTYPE=
#------------------------------------------------
# The ranlib command on your system. A/UX (and probably other sysv's
# should change this to "touch"
#
RANLIB = ranlib
#------------------------------------------------
# The install command on your system. OSF/1 should change this
# to installbsd
#
# SCO ODT systems should change this to bsdinst
# IBM AIX systems should change this to /usr/ucb/install
#
INSTALL = install
#-------------------------------------------------
# Where shall we install stuff?
#
PREFIX = /usr/local
CLIENTDIR = $(PREFIX)/bin
CLIENTLIB = $(PREFIX)/lib
SERVERDIR = $(PREFIX)/etc
MAN1DIR = $(PREFIX)/man/man1
MAN8DIR = $(PREFIX)/man/man8
#-----------------------------------------------------------------
# Optional server features.
#
# Add -DLOADRESTRICT if you want to restrict access based on load avg.
# (Note you'll need to add -lkvm in SERVERLIBS) Note also that this has
# only been tested under SunOS 4.1.1
#
# Add -DBIO if you're using the biology portion of Don Gilbert's modified
# wais8b5 that supports boolean and phrase searching.
# PLEASE NOTE: the -DBIO option is NOT needed nor recommended for use
# of the boolean and phrase searching portion of this modified wais,
# just the symbol searching. But, you must compile wais and gopher with
# the same option setting (-DBIO or NOT).
# The source can be gotten from:
#
# ftp.bio.indiana.edu
#
# Add -DDL and define DLPATH and DLOBJS if you want to include support
# for Tim Cook's 'dl' databases You will also have to have a
# working copy the program with source code in the DLPATH
# directory. The files getdesc.o and enddesc.o must be there.
# Source for dl can be gotten from:
#
# admin.viccol.edu.au
# pub/dl/describe-1.8.tar.Z or higher...
#
SERVEROPTS = #-DBIO #-DDL # -DLOADRESTRICT
DLPATH = /home/mudhoney/lindner/src/describe
#DLOBJS = $(DLPATH)/getdesc.o $(DLPATH)/enddesc.o
#--------------------------------------------------
# Libraries for clients and servers
# Ultrix needs -lcursesX instead of -lcurses
# UMAX needs -lresolv
#
#--------------------------------------------------
# Libraries... Uncomment out SEQLIBS if compiling on sequent Dynix,
# " " PTXLIBS if compiling on sequent Dynix/ptx,
# " " UMAXLIBS if compiling under UMAX,
# " " SCOLIBS if compiling under SCO Unix.
#
#UMAXLIBS = -lresolv
#LOADLIBS = -lkvm
#SEQLIBS = -lseq
#PTXLIBS = -lseq -lsocket -linet -lnsl
#SCOLIBS = -lsocket
#SVR4LIBS = -lsocket -lnsl
OTHERLIBS = $(HPLIBS) $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
$(SVR4LIBS)
CLIENTLIBS = -lcurses -ltermcap -lgopher $(OTHERLIBS)
SERVERLIBS = -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
#-----------------------------------------------------------------
# If your hostname command returns the Fully Qualified Domain Name
# (i.e. it looks like foo.bar.edu and not just foo) then make
# the domain name a null string. Otherwise put in the rest of
# your domain name that `hostname` doesn't return.
DOMAIN = .micro.umn.edu
#-----------------------------------------------------------------
# SERVERDIR is the default directory for gopherd. It can be
# overridden on the command line
#
# SERVERPORT is the default port for gopherd. It too can be
# overridden on the command line.
#
SERVERDATA = /home/mudhoney/gopher-data
SERVERPORT = 70
#-----------------------------------------------------------------
# Compatibility defines
#
# If you don't have the strstr() function call then add -DNOSTRSTR
#
# Most of these are automatically defined via the built in compiler
# definitions. Don't worry about them unless you have problems
#
COMPAT = # -DNOSTRSTR # -DNO_STRDUP # -DNO_BZERO # -DNO_TMPNAM
#-----------------------------------------------------------------
# Stuff that follows shouldn't be changed
#
OBJINCLUDES = -I../object
OTHERINCLUDES = -I.. -I../ir -I../ui
INCLUDES = $(OBJINCLUDES) $(OTHERINCLUDES)
LDFLAGS = -L../object
SHELL = /bin/sh